package com.zc.pojo;

import java.util.List;

/**
 * @description:
 * @author: cong
 * @create: 2025/2/22
 */
public class Staff {
    String name;
    Integer age;
    List<Card> cardList;

    public Staff() {
    }

    public Staff(String name, List<Card> cardList, Integer age) {
        this.name = name;
        this.cardList = cardList;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public List<Card> getCardList() {
        return cardList;
    }

    public void setCardList(List<Card> cardList) {
        this.cardList = cardList;
    }

    @Override
    public String toString() {
        return name + " " + age + " " + cardList;
    }
}
